<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>利用类选择器画三个盒子</title>
    <style>
        .red {
            height: 100px;
            width: 100px;
            background-color: aqua;
        }

        .pink {
            height: 100px;
            width: 100px;
            background-color: deeppink;
        }

        .yellow {
            height: 100px;
            width: 100px;
            background-color: gold;
        }

        .font20 {
            font-size: 20px;
        }

        .fontWeight {
            font-weight: 700;
            font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
            font-style: italic;
        }

        body {
            /* font-style: normal;
            font-weight: 300;
            font-size: large;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
            font: normal 700 20px 'Franklin Gothic Medium'
        }
    </style>
</head>

<body>
    <div class="red font20">亚瑟</div>
    <div class="pink fontWeight">刘备</div>
    <div class="yellow"></div>
</body>

</html>